ComponentOne Bitmap for WPF
QueryInterfaceOrNull<T>() Method

C1.WPF.DX.4 Assembly > C1.Util.DX Namespace > ComObject Class > QueryInterfaceOrNull Method : QueryInterfaceOrNull<T>() Method
Query Interface for a particular interface support.
Syntax
'Declaration
 
Public Overloads Overridable Function QueryInterfaceOrNull(Of T As ComObject)() As T
public virtual T QueryInterfaceOrNull<T>()
where T: ComObject

Type Parameters

T

Return Value

An instance of the queried interface or null if it is not supported
See Also

Reference

ComObject Class
ComObject Members
Overload List